package com.quick.develop.server.handle;

import io.netty.channel.*;
import io.netty.channel.socket.SocketChannel;


public class QuickServerInitializer extends ChannelInitializer<SocketChannel> {

    @Override
    protected void initChannel(SocketChannel channel) throws Exception {
        ChannelPipeline pipeline = channel.pipeline();
        pipeline.addLast(new QuickDecodeHandle());
        pipeline.addLast(new QuickHandle());
    }
}
